﻿
    using System;
    using System.Web.UI.HtmlControls;
    using System.Web.UI.WebControls;

    public partial class GoodsIn : PageBase
    {


        protected void Page_Load(object sender, EventArgs e)
        {
            if (!base.IsPostBack)
            {
                PubFunction.BindShopSelect(base._UserShopID, this.sltShop, base._UserShopID, base._UserShopID != 1);
                this.chkPrint.Checked = base.curParameter.bolAutoPrint;
                this.sltShop.Value = this._UserShopID.ToString();
                this.lblUSer.InnerText = base._UserName;
                this.spGoodsAccounte.InnerText = base.curParameter.strGoodsInPrefix + DateTime.Now.ToString("yyMMddHHmmssffff");
                this.txtCreteTime.Value = DateTime.Now.ToString("yyyy-MM-dd");
                PubFunction.Get_PrintTitle(ref this.lblPrintTitle, ref this.lblPrintFoot, base._UserShopID);
                if (base._UserShopID != 1)
                {
                    this.sltShop.Attributes.Add("disabled", "disabled");
                }
                this.PointNum.Value = PubFunction.GetPointNum("SPRK");
            }
        }
    }


